extends layout/default

block content
    .page.page-current
        header.bar.bar-nav
            h1.title 酒店介绍

        include ./include/nav

        .content
            if banners.length>0
                .swiper-container(data-space-between="10")
                    .swiper-wrapper
                        each banner in banners
                            .swiper-slide
                                img(src=banner)
                    .swiper-pagination(style="bottom:0")
            .card
                .card-header #{hotelName}
                .card-content
                    .list-block.media-list
                        ul
                            li.item-content
                                .item-media
                                    img(src="#{hotelImg}", style="height: 3rem")
                                .item-inner
                                    div(style="font-size: 14px;")
                                        span.js-hotel-desc #{hotelDescription}
                                        if allDesc !==''
                                            | &nbsp;&nbsp;
                                            a.folder.close ...展开
                                    .js-less-desc.hide  #{hotelDescription}
                                    .js-all-desc.hide  #{allDesc}
                .card-footer
                    div
                        if hoWeb
                            a.button.button-fill(class="ml-5 dis-inline-b") 官网
                        a.button.button-fill(class="ml-5 dis-inline-b") 酒店展示
                        if lgt !==undefined
                            a.button.button-fill.ml-5.dis-inline-b(href='/map?lgt=#{lgt}&lat=#{lat}&hotelName=#{hotelName}&hn=#{hotelNo}') 定位
            .content-block-title 快速预订
            form(action="/booking?hn=#{hotelNo}", method="post")
                .list-block
                    ul
                        li.item-content
                            .item-inner
                                .width-100
                                    .pull-left(style="line-height:2.2rem") 入住
                                    .pull-right
                                        a.selected-in-time.open-popup.open-calender.dis-inline-b(href="#")
                                            .js-in-date.main-text
                                            input#js-input-in-time(type="hidden", name="inTime")
                                            .tip-text 入住
                                        select.pull-right.color-main.js-24-hours.in(name="inHour", style="padding-left: 30px;width: 100px")
                        li.item-content
                            .item-inner
                                .width-100
                                    .pull-left(style="line-height:2.2rem") 离开
                                    .pull-right
                                        a.selected-out-time.open-popup.open-calender.dis-inline-b(href="#")
                                            .js-out-date.main-text
                                            input#js-input-out-time(type="hidden", name="outTime")
                                            .tip-text 离开
                                        select.pull-right.color-main.js-24-hours(name="outHour", style="padding-left: 30px;width: 100px")
                .content-padded
                    button.width-100.button.button-fill.button-big.external( style="margin-top: 20px;") 快速预订


    //-popup
    .popup.popup-calender
        .calender-container


block pageJs
    script(src=getStatic("ubooking/hotel/hotel.entry.js") )
block pageCss
    link(rel='stylesheet' href=getStatic('ubooking/hotel/hotel.entry.css'))
